﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Muccu.Contracts
{
    [DataContract]
    public class Error
    {

        [DataMember(Name = "code", IsRequired = true)]
        public int Code { get; set; }

        [DataMember(Name = "message", IsRequired = true)]
        public string Message { get; set; }

        [DataMember(Name = "data", IsRequired = false)]
        public object Data { get; set; }
    }
}
